var exec = require('cordova/exec');

var YhAlipay = {
 
  /**
   * 支付宝支付业务
   *
   */
    pay:function(onSuccess, onError, orderInfo) {
        exec(
            onSuccess,
            onError,
            "YhAliPayPlugin",
            "alipay",
            [orderInfo]
        );
    }
}

module.exports = YhAlipay;